package com.huowenjie.api;

import com.netflix.ribbon.proxy.annotation.Hystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

//@FeignClient(name = "ribbon02",fallback = TestFallBack.class)
//@Hystrix
@FeignClient(name = "ribbon02")
public interface TestApi {
    @RequestMapping("test2")
    public String test2(@RequestParam("name")String name);
}
